all:client3
client1:client1.cc
	g++ -std=c++11 $^ -o $@ -lpthread
client2:client2.cc
	g++ -std=c++11 $^ -o $@ -lpthread
client3:client3.cc
	g++ -std=c++11 $^ -o $@ -lpthread
client4:client4.cc
	g++ -std=c++11 $^ -o $@ -lpthread

tcp_server:server.cc
	g++ -std=c++11 $^ -o $@ -lpthread
client:tcp_cli.cc
	g++ -std=c++11 $^ -o $@ -lpthread
server:tcp_srv.cc
	g++ -std=c++11 $^ -o $@ -lpthread